﻿using Camc.Quality.ProductionPlan;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.ProductionControl
{
    public class ProductionReportOutput
    {
        /// <summary>
        /// 集合Id
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 任务编号
        /// </summary>
        public string JobNumber { get; set; }

        /// <summary>
        /// 对应节点Id
        /// </summary>
        public Guid NodeId { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 发次
        /// </summary>
        public string LotNo { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string TechniqueName { get; set; }
        /// <summary>
        /// 工艺编号
        /// </summary>
        public string TechniqueNumber { get; set; }

        /// <summary>
        /// 图号
        /// </summary>
        public string DrawingNo { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string ProductionName { get; set; }
        /// <summary>
        /// 工步名称
        /// </summary>
        public string WorkStepDrawingNo { get; set; }

        /// <summary>
        /// 工步内容
        /// </summary>
        public string WorkStepName { get; set; }

        /// <summary>
        /// 标准工时
        /// </summary>
        public decimal WorkingHour { get; set; }
        /// <summary>
        /// 绩效工时
        /// </summary>
        public decimal PerformanceHour { get; set; }

        /// <summary>
        /// 配套状况
        /// </summary>
        public string MatchingCondition { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 计划完成时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 计划状态
        /// </summary>
        public ProductingStatus ProductingStatus { get; set; }

        /// <summary>
        /// 计划状态描述
        /// </summary>
        public string ProductingStatusDesc { get; set; }

        /// <summary>
        /// 报工状态
        /// </summary>
        public ProductedStatus ProductedStatus { get; set; }
        /// <summary>
        /// 提报状态描述
        /// </summary>
        public string ProductedStatusDesc { get; set; }
        

        /// <summary>
        /// 装配班组描述
        /// </summary>
        public string OrganizationUnitDesc { get; set; }

        /// <summary>
        /// 装配人员描述
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 装配开始时间
        /// </summary>
        public DateTime? AssemblyStartTime { get; set; }
        /// <summary>
        /// 装配结束时间
        /// </summary>
        public DateTime? AssemblyEndTime { get; set; }

        /// <summary>
        /// 调度员描述
        /// </summary>
        public string DispatcherName { get; set; }

        /// <summary>
        /// 下发时间
        /// </summary>
        public DateTime? IssueTime { get; set; }

    }
}
